package com.atmc.mapper;

import com.atmc.bean.Supplier;
//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SupplierMapper  {
    List<Supplier> selectAll();
    int deleteOne(@Param("supplier_id") int id);
    int updateOne(Supplier supplier);
    int insertOne(Supplier supplier);

}
